package com.thunder.iDao;

import java.util.List;

import org.hibernate.LockMode;
import org.springframework.context.ApplicationContext;

import com.thunder.daoImp.UserinfoDAO;
import com.thunder.model.Userinfo;

public interface IUserInfoDao {
	
	public void save(Userinfo transientInstance);

	public void delete(Userinfo persistentInstance) ;

	public Userinfo findById(java.lang.Integer id);

	public List findByExample(Userinfo instance);

	public List findByProperty(String propertyName, Object value);

	public List findByUsername(Object username);

	public List findByPassword(Object password) ;

	public List findByEmail(Object email) ;

	public List findByNickname(Object nickname);

	public List findByPicture(Object picture);

	public List findBySex(Object sex);

	public List findByAge(Object age);

	public List findByCity(Object city);

	public List findByHobby(Object hobby);

	public List findByStatus(Object status);

	public List findByActivitycode(Object activitycode);

	public List findAll();

	public Userinfo merge(Userinfo detachedInstance);

	public void attachDirty(Userinfo instance);

	public void attachClean(Userinfo instance);


}
